import cookie from "react-cookies"
export function hasToken(){
    return cookie.load("token")?true:false
}